package io.iamting93.code.pojo;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @author boting.guo
 * @date 2021/11/30 14:55
 */

public class AuthCode {

    private int id;

    private String email;

    private String code;

    @JsonProperty("cratetime")
    private long createTime;


    public AuthCode() {}

    public AuthCode(String email, String code, long createTime) {
        this.email = email;
        this.code = code;
        this.createTime = createTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

}
